import Vue from 'vue'
import Router from 'vue-router'
import JHome from '@/components/home/index.vue'
import JMoney from "@/components/money/index.vue"
import JIous from "@/components/ious/index.vue"
import JRaise from "@/components/raise/index.vue"
import JDownload from "@/components/special/download.vue"

import '@/assets/css/reset.scss'

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/',
      redirect: '/index'
    },
    {
      path: '/index',
      name: 'JHome',
      component: JHome
    }, {
      path: "/money",
      name: "JMoney",
      component: JMoney,
    }, {
      path: "/ious",
      name: "JIous",
      component: JIous,
    }, {
      path: "/raise",
      name: "JRaise",
      component: JRaise,
    }, {
      path: "/download",
      name: "JDownload",
      component: JDownload,
    },

  ]
})
